package com.currency.mall.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/12/28.
 */

public class RechargeBean {

    private String code;//": "0000",                 #处理状态
    private String msg;//": "成功",
    private BankBean bankInfo;
    private RechargeInfo recharge;
    private AlipayBean alipayInfo;
    private int timeOut;
    private int cancelNum;

    public int getCancelNum() {
        return cancelNum;
    }

    public void setCancelNum(int cancelNum) {
        this.cancelNum = cancelNum;
    }

    public int getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(int timeOut) {
        this.timeOut = timeOut;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BankBean getBankInfo() {
        return bankInfo;
    }

    public void setBankInfo(BankBean bankInfo) {
        this.bankInfo = bankInfo;
    }

    public RechargeInfo getRecharge() {
        return recharge;
    }

    public void setRecharge(RechargeInfo recharge) {
        this.recharge = recharge;
    }

    public AlipayBean getAlipayInfo() {
        return alipayInfo;
    }

    public void setAlipayInfo(AlipayBean alipayInfo) {
        this.alipayInfo = alipayInfo;
    }

    public class BankBean implements Serializable{

        private String bank_code;//':'622111111111111111111',
        private String bank_real_name;//':'张三',
        private String bank_name;//':'中国银行',
        private String bank_address;//':'深圳南山支行'

        public String getBank_code() {
            return bank_code;
        }

        public void setBank_code(String bank_code) {
            this.bank_code = bank_code;
        }

        public String getBank_real_name() {
            return bank_real_name;
        }

        public void setBank_real_name(String bank_real_name) {
            this.bank_real_name = bank_real_name;
        }

        public String getBank_name() {
            return bank_name;
        }

        public void setBank_name(String bank_name) {
            this.bank_name = bank_name;
        }

        public String getBank_address() {
            return bank_address;
        }

        public void setBank_address(String bank_address) {
            this.bank_address = bank_address;
        }
    }

    public class AlipayBean implements Serializable{
        private String payment;//':'深圳钛河科技发展有限公司',
        private String alipay_account;//':'123456',
        private String payImg;//':'/pay/alipay.png'

        public String getPayment() {
            return payment;
        }

        public void setPayment(String payment) {
            this.payment = payment;
        }

        public String getAlipay_account() {
            return alipay_account;
        }

        public void setAlipay_account(String alipay_account) {
            this.alipay_account = alipay_account;
        }

        public String getPayImg() {
            return payImg;
        }

        public void setPayImg(String payImg) {
            this.payImg = payImg;
        }
    }

    public class RechargeInfo implements Serializable{
        private String id;//": 60, #ID
        private String userId;//": 1, #用户ID
        private String status;//": "PAY_OPERATION",  #状态：PAY_OPERATION-充值中,
                                                             //PAY_SUCCESS-充值成功,
                                                             // PAY_ERROR-充值失败,
                                                             // PAY_WAIT-等待中,
                                                             // PAY_CANCEL-取消充值
        private String type;//": "ALIPAY",           #类型：ALIPAY-支付宝,BANK-银行卡
        private String recharSum;//": 10000,         #充值金额
        private String orderId;//": null,            #流水单号
        private String account;//": null,            #转账账号
        private String recharRemark;//": "046298",   #充值备注信息（参考号）
        private String orderTime;
        private String orderNum;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getRecharSum() {
            return recharSum;
        }

        public void setRecharSum(String recharSum) {
            this.recharSum = recharSum;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getRecharRemark() {
            return recharRemark;
        }

        public void setRecharRemark(String recharRemark) {
            this.recharRemark = recharRemark;
        }

        public String getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(String orderTime) {
            this.orderTime = orderTime;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }
    }
}
